package com.rongke.service;

import com.baomidou.mybatisplus.service.IService;
import com.rongke.model.ExperienceGoods;
import com.rongke.model.NewGoods;

import java.util.List;
import java.util.Map;

/**
 * @ExperienceGoodsService
 * @体验众测Service
 * @version : Ver 1.0
 */
public interface ExperienceGoodsService extends IService<ExperienceGoods>{

    List<ExperienceGoods> selectByCondition(ExperienceGoods experienceGoods);

    List<ExperienceGoods> selectExpGoodsList(Map map);


    /**
     * 收货后15天未填写调查问卷发消息提醒
     */
    void noticeToFillQuestionaire();


    /**
     * 购买试用商品支付时检查该用户是否有收货后一定天数未填写调查的订单
     * @param muserId 用户id
     * @return 返回true表示此次不能购买
     */
    boolean ifLeftOversExpOrdersExist(Long muserId);
}
